package cn.momoshenchi.medicine.util;


/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/7/11 - 14:30
 */
public class AssertUtil {


    public  static void isTrue(Boolean flag,String msg){
        if(flag){
            throw  new ParamsException(msg);
        }
    }

}
